﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;

namespace RealtorGuide.Classes.Impl
{
    public static class IUnityContainer_RGExtrension
    {
        public static IUnityContainer RG_Classes(this IUnityContainer cfg)
        {
            cfg
                .RegisterType<IApartmentService, ApartmentService>()
                .RegisterType<IManagerService, ManagerService>()
                .RegisterType<IMicroAreaService, MicroAreaService>()

                ;

            return cfg;
        }
    }
}
